/* Basic styling for our Flask templates demo */
body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

header {
    background-color: #007bff;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 20px;
}

nav {
    background-color: #e9ecef;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    margin-right: 15px;
}

nav a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

main {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

footer {
    margin-top: 20px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9em;
}

.movie-list {
    list-style-type: none;
    padding: 0;
}

.movie-item {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
}

.alert {
    padding: 12px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    color: #155724;
    margin-bottom: 20px;
}

.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.debug-info {
    background-color: #e2e3e5;
    border: 1px solid #d6d8db;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
}

.debug-info h3 {
    margin-top: 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.table th, .table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.table th {
    background-color: #e9ecef;
}